package com.xinsoft.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xinsoft.entity.dto.ScmSaleReturnDTO;
import com.xinsoft.entity.dto.ScmSaleReturnParam;
import com.xinsoft.entity.po.ScmSaleReturn;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xinsoft.entity.vo.ScmSaleReturnListVo;
import com.xinsoft.entity.vo.ScmSaleReturnVo;

import java.util.List;

/**
* @author ZYM
* @description 针对表【scm_sale_return(销售退货)】的数据库操作Service
* @createDate 2023-07-21 16:06:17
*/
public interface ScmSaleReturnService extends IService<ScmSaleReturn> {

    IPage<ScmSaleReturnListVo> findPageListByParam(ScmSaleReturnParam param);

    List<ScmSaleReturnListVo> findListByParam(ScmSaleReturnParam param);

    Integer tempSave(ScmSaleReturnDTO scmSaleReturnDTO);

    ScmSaleReturnVo detail(Integer id);

    void del(List<Integer> ids);

    void audit(Integer id);

    void reverseAudit(Integer id);

    void addOrUpdateAudit(ScmSaleReturnDTO scmSaleReturnDTO);
}
